ACFWF\Models\Store_Credits\Calculate S

Total Complexity 47
Dependencies 12
Dependents 1
Total lines 572
Lines of code 220
Logical lines of code 126
Comment lines 252
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
calculate_credits_status_and_sources()
A
47 8 36
maybe_check_on_all_users_balance_expiry()
S
49 6 30
_get_entries_sum()
S
52 5 22
_get_all_entries()
S
52 4 23
calculate_store_credits_report_period_statistics()
S
54 4 20
get_customer_balance()
S
58 4 15
expire_user_credit_balance()
S
60 2 13
_calculate_customer_balance()
S
64 2 9
get_last_active()
S
62 2 10
get_instance()
S
70 2 6
__construct()
S
70 1 6
deactivate()
S
82 1 3
get_decimal_precision()
S
79 1 3
validate_user_last_active()
S
67 1 7
delete_store_credits_cached_data()
S
75 1 4
calculate_store_credits_period_statistics()
S
71 1 5
calculate_unclaimed_store_credits()
S
71 1 5
run()
S
79 1 3